{foreach name="list" item="vo"}
<div class="record-item">
    <div class="order-number">
        <span>{$vo.order_sn}</span>
        <i class="fa fa-copy copy-icon"></i>
    </div>
<div class="record-details">
<div class="detail-item">合约状态：
{switch name="vo['status']"}
{case value="2"}
    <span class="status-tag status-approved">已结算</span>
{/case}
{case value="1"}
    <span class="status-tag status-pending">结算中</span>
{/case}
{/default}
    <span class="status-tag  status-rejected">结算失败</span>
{/switch}
</div>
    <div class="detail-item">交易时长：<span>60s</span></div>
    <div class="detail-item">合约类型：<span>{$vo.is_rise ? "买张":"买跌"}</span></div>
    <div class="detail-item">交易对：<span>{$vo.market.code}/USDT</span></div>
    <div class="detail-item">使用钱包：<span>{$vo.coin.coin_name}</span></div>
    <div class="detail-item">投入金额：<span class="amount">{$vo.num}</span></div>
    <div class="detail-item">盈亏金额：<span class="amount">{$vo.ploss}</span></div>
    <div class="detail-item">建仓时间：<span>{$vo.buy_time}</span></div>

</div>
</div>
{/foreach}